/*
 * @Date: 2022-03-24 18:48:06
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-03-24 18:50:41
 * @FilePath: \vue3Components\src\utils\index.ts
 * @Description: 工具函数
 */
export const toLine = (value: string) => {
  return value.replace(/(A-Z)g/, "-$1").toLocaleLowerCase();
};
